using B.S.BaseData.ErrorCode;
using MediatR;
using WorkOrder.Domain;
namespace B.S.BaseData.Api.Read.Command.OrderCommand
{
    /// <summary>
    /// 处方流转订单查询命令
    /// </summary>
    public class PrescriptionOrderQueryCommand : IRequest<APIResult<ApiPaging<PrescriptionOrder>>>
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }


        /// <summary>
        /// 搜索关键词（患者姓名或手机号）
        /// </summary>
        public string? Keyword { get; set; }

        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
} 